package com.ruoyi.merchant.area.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 区域对象 area
 * 
 * @author zzr
 * @date 2025-09-14
 */
public class Area extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 所属区域名称 */
    @Excel(name = "所属区域名称")
    private String areaName;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer del;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }

    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }

    public void setDel(Integer del)
    {
        this.del = del;
    }

    public Integer getDel()
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaName", getAreaName())
            .append("del", getDel())
            .toString();
    }
}
